# -*- coding: utf-8 -*-
# @Time: 2022/6/27 16:47
# @Author: 发抖的小喵喵
# @Email: panyi_20210601@163.com
# @File: 发送验证码接口(新增).py
# @Project: haixin
# @Software: PyCharm
from case.wodian.haixin.Method.Post import post_method



def sendPayCodeSms():
    """
    海信收银台根据用户id调用我店接口发送短信验证码
    :return:
    """

    url = "https://api-stg.shwoody.com/ma/chiobeansOrder/sendPayCodeSms"

    data = {
        "userId": "1608696029975285760"    # 1541975756513873920  test：1532568881774858240 本人 pre:1509864748823482368
    }

    response = post_method(data, url)
    print("接口响应数据：" + str(response))


if __name__ == "__main__":
    sendPayCodeSms()
